package ciyuan.Gui.Slot;

import ciyuan.Item.TypeInterface.SkillBookType;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.container.Slot;
import net.minecraft.item.ItemStack;

public class SkillSlot extends Slot {

    public SkillSlot(IInventory inventory, int index, int left, int top) {
        super(inventory, index, left, top);
    }

    @Override
    public boolean mayPlace(ItemStack itemStack) {
        return itemStack.getItem() instanceof SkillBookType;
    }

}
